package com.zhoujian.abstractFactory.resourceFactory.impl;

import com.zhoujian.SimpleFactory.Resource;
import com.zhoujian.abstractFactory.resourceFactory.IResourceLoader;

public class HttpResourceLoader implements IResourceLoader {

    @Override
    public Resource load(String url) {
        //中间省略复杂创建代码
        return new Resource(url);
    }
}
